package com.demo.dao;

import com.demo.pojo.User;

import java.sql.SQLException;

public interface IUserDao {
    /**
     * 登录
     */
    public User login(String name, String password)throws Exception;

    /**
     * 注册
     */
    int register(User user)throws Exception;
}
